Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Chart Namespace / SpreadChartExtension Class / GenerateFromCellRanges Method / GenerateFromCellRanges(SpreadChart,SheetView,CellRange[],Boolean) Method
The target chart.
The sheet view.
The cell ranges.
if set to true, the processing will switch rows and columns automatically if necessary.


In This Topic
    GenerateFromCellRanges(SpreadChart,SheetView,CellRange[],Boolean) Method
    In This Topic
    Generates from cell ranges.
    Syntax
    'Declaration
     
    
    Public Overloads Sub GenerateFromCellRanges( _
       ByVal chart As SpreadChart, _
       ByVal sheetView As SheetView, _
       ByVal cellRanges() As CellRange, _
       ByVal autoSwitch As Boolean _
    ) 
    'Usage
     
    
    Dim instance As SpreadChartExtension
    Dim chart As SpreadChart
    Dim sheetView As SheetView
    Dim cellRanges() As CellRange
    Dim autoSwitch As Boolean
     
    instance.GenerateFromCellRanges(chart, sheetView, cellRanges, autoSwitch)
    public void GenerateFromCellRanges( 
       SpreadChart chart,
       SheetView sheetView,
       CellRange[] cellRanges,
       bool autoSwitch
    )

    Parameters

    chart
    The target chart.
    sheetView
    The sheet view.
    cellRanges
    The cell ranges.
    autoSwitch
    if set to true, the processing will switch rows and columns automatically if necessary.
    See Also